package com.deuwise.system.service.impl;

import com.deuwise.system.entity.SysMapViewsDict;
import com.deuwise.system.service.SysMapViewsDictService;
import com.deuwise.system.mapper.SysMapViewsDictMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Sysmapviewsdict 接口实现类
 *@author deuwise
 *@date 2020-06-08 17:22:30
 **/
@Service
public class SysMapViewsDictServiceImpl extends ServiceImpl<SysMapViewsDictMapper, SysMapViewsDict> implements SysMapViewsDictService {

    Logger logger= LoggerFactory.getLogger(SysMapViewsDictServiceImpl.class);

    @Override
    public List<String> viewTypeVersionList() {
        return baseMapper.viewTypeVersionList();
    }

    /**
     * 获取指定版本视图的字段列表
     * @param param
     * @return
     */
    @Override
    public List<String> viewFieldList(Map<String, String> param) {
        return baseMapper.viewFieldList(param);
    }
}